# format pom

cp pom.xml pom.xml.back

xmllint --format pom.xml > x.out 
if [ $? = 0 ]; then
   mv x.out pom.xml 
   #echo format succeeded
else 
   echo format failed
fi
